import sqlite3
conn = sqlite3.connect("d:/test.db")
cur = conn.cursor()

sqlstr = "select * from  user"
s = cur.execute(sqlstr)
for row in s:
	print("sid=",row[0])
	print("name=",row[1])
	print("email=",row[2],'\n')

conn.close()